Automatically set up date field in QGIS